package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 
 *
 * @author code-generate
 * @date 2021-08-06
 */
@Data
@DbTable(tableName = "t_charging_pile")
public class ChargingPile extends BaseEntity {
        /**
     * 编号
     */
    @DbTableField(columnName = "c_code", dbType = DbTypeEnum.VARCHAR)
    public String code ;

    /**
     * 位置编号
     */
    @DbTableField(columnName = "c_address_code", dbType = DbTypeEnum.VARCHAR)
    public String addressCode ;

    /**
     * 充电桩厂家
     */
    @DbTableField(columnName = "c_company_name", dbType = DbTypeEnum.VARCHAR)
    public String companyName ;

    /**
     * 充电桩厂家简称
     */
    @DbTableField(columnName = "c_company_name_short", dbType = DbTypeEnum.VARCHAR)
    public String companyNameShort ;

    /**
     * 组Id t_charging_pile_group.c_id
     */
    @DbTableField(columnName = "c_group_id", dbType = DbTypeEnum.INTEGER)
    public Integer groupId ;

    /**
     * 停车场Id t_parking_lot.c_id
     */
    @DbTableField(columnName = "c_parking_lot_id", dbType = DbTypeEnum.INTEGER)
    public Integer parkingLotId ;

    /**
     * 片区id t_extent.c_id
     */
    @DbTableField(columnName = "c_extent_id", dbType = DbTypeEnum.INTEGER)
    public Integer extentId ;

    /**
     * 片区
     */
    @DbTableField(columnName = "c_extent_name", dbType = DbTypeEnum.VARCHAR)
    public String extentName ;

    /**
     * 公园Id 对应公园t_park.c_id 
     */
    @DbTableField(columnName = "c_park_id", dbType = DbTypeEnum.INTEGER)
    public Integer parkId ;

    /**
     * 公园名称
     */
    @DbTableField(columnName = "c_park_name", dbType = DbTypeEnum.VARCHAR)
    public String parkName ;

    /**
     * 位置描述
     */
    @DbTableField(columnName = "c_address", dbType = DbTypeEnum.VARCHAR)
    public String address ;

    /**
     * 坐标X
     */
    @DbTableField(columnName = "c_lng_bd09", dbType = DbTypeEnum.DOUBLE)
    public Double lngBd09 ;

    /**
     * 坐标Y
     */
    @DbTableField(columnName = "c_lat_bd09", dbType = DbTypeEnum.DOUBLE)
    public Double latBd09 ;

    /**
     * 坐标 wgs84 x
     */
    @DbTableField(columnName = "c_lng_wgs", dbType = DbTypeEnum.DOUBLE)
    public Double lngWgs ;

    /**
     * 坐标 wgs84 y
     */
    @DbTableField(columnName = "c_lat_wgs", dbType = DbTypeEnum.DOUBLE)
    public Double latWgs ;

    /**
     * 坐标大地2000X
     */
    @DbTableField(columnName = "c_lng_2000", dbType = DbTypeEnum.DOUBLE)
    public Double lng2000 ;

    /**
     * 坐标大地2000Y
     */
    @DbTableField(columnName = "c_lat_2000", dbType = DbTypeEnum.DOUBLE)
    public Double lat2000 ;

    /**
     * 坐标 gcj02 x
     */
    @DbTableField(columnName = "c_lng_gcj02", dbType = DbTypeEnum.DOUBLE)
    public Double lngGcj02 ;

    /**
     * 坐标 gcj02 y
     */
    @DbTableField(columnName = "c_lat_gcj02", dbType = DbTypeEnum.DOUBLE)
    public Double latGcj02 ;

    /**
     * 坐标 百度墨卡托 x
     */
    @DbTableField(columnName = "c_lng_bdmkt", dbType = DbTypeEnum.DOUBLE)
    public Double lngBdmkt ;

    /**
     * 坐标 百度墨卡托 Y
     */
    @DbTableField(columnName = "c_lat_bdmkt", dbType = DbTypeEnum.DOUBLE)
    public Double latBdmkt ;

    /**
     * 最大功率
     */
    @DbTableField(columnName = "c_power_max", dbType = DbTypeEnum.INTEGER)
    public Integer powerMax ;

    /**
     * 收费规则
     */
    @DbTableField(columnName = "c_charge_rule", dbType = DbTypeEnum.VARCHAR)
    public String chargeRule ;

    /**
     * 描述
     */
    @DbTableField(columnName = "c_desc", dbType = DbTypeEnum.VARCHAR)
    public String desc ;

    /**
     * 创建时间
     */
    public LocalDateTime dbCreateDate ;

    /**
     * 创建人ID 对应t_sys_user.c_id
     */
    public Integer dbCreateId ;

    /**
     * 更新时间
     */
    public LocalDateTime dbLastUpdateDate ;

    /**
     * 更新人员ID 对应t_sys_user.c_id
     */
    public Integer dbLastUpdateId ;

    /**
     * 设施Id  t_facilities.c_id
     */
    @DbTableField(columnName = "c_facilities_id", dbType = DbTypeEnum.INTEGER)
    public Integer facilitiesId ;

    /**
     * 1 空闲 2 使用中 3 停用
     */
    @DbTableField(columnName = "c_status", dbType = DbTypeEnum.SMALLINT)
    public Short status ;


}
